package com.aaa.mbs.entity;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

/**
 * (MemberLevel)实体类
 *
 * @author yuxiujie
 * @since 2021-01-23 10:17:19
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class MemberLevel implements Serializable {
    private static final long serialVersionUID = 661536466467126094L;

    private Long id;

    public MemberLevel(Long id, Integer growthPoint) {
        this.id = id;
        this.growthPoint = growthPoint;
    }

    private String name;
    /**
     * 成长值
     */
    private Integer growthPoint;
    /**
     * 是否为默认等级：0->不是；1->是
     */
    private Integer defaultStatus;
    /**
     * 免运费标准
     */
    private Double freeFreightPoint;
    /**
     * 是否有评论获奖励特权
     */
    private Integer priviledgeComment;
    /**
     * 是否有专享活动特权
     */
    private Integer priviledgePromotion;
    /**
     * 是否有会员价格特权
     */
    private Integer priviledgeMemberPrice;
    /**
     * 是否有生日特权
     */
    private Integer priviledgeBirthday;

    private String note;
    /**
     * 普通1 白银1.2 黄金1.5....
     */
    private Object ratio;

}